#include "UpdateProcess.h"
#include "MemTrack.h"

namespace bs
{
	UpdateProcess::UpdateProcess()
	{

	}

	UpdateProcess::~UpdateProcess()
	{

	}

	void UpdateProcess::Run( int id, size_t time, size_t frames, size_t elapse, void* userData )
	{
		for(std::set<IUpdateable*>::iterator itr=this->updaters.begin();
			itr!=this->updaters.end(); ++itr)
		{
			(*itr)->Update(time, frames, elapse);
		}
	}
}